#ifndef QWTFUN_H
#define QWTFUN_H

#include <QtGui/QMainWindow>
#include "ui_QwtFun.h"
//Qwt
#include <qwt_plot.h>
#include <qwt_plot_curve.h>
#include <qwt_series_data.h>
//Local
#include <PlotWidget.h>

class QwtFun : public QMainWindow
{
	Q_OBJECT

public:
	QwtFun(QWidget *parent = 0, Qt::WFlags flags = 0);
	~QwtFun();
	
public slots:
	void on_SomeButtonClicked();

private:
	//Funcs
	QwtPointSeriesData* CreatePoints();
	void SomeFunc1();
	void SomeFunc2();
	void PrepareData(uint* pArray, int *pSize);
	//Members
	Ui::QwtFunClass ui;
	QwtPlot *_plot;
	//QwtPointSeriesData _seriesData;
};

#endif // QWTFUN_H
